<template>
    <div class="nav">
        <div class="title">{{type}}</div>
        <div class="fa fa-search fa-lg btns"></div>
        <div class="fa fa-plus-square-o fa-lg btns"></div>
    </div>
</template>

<script>
export default {
    data(){
        return {
            type:this.titles
        }
    },
    props:['titles']
}
</script>

<style lang="less" scoped>
    .nav{
        width: 100vw;
        height: 45px;
        background-color: rgb(237, 237, 237);
        display: flex;
        .title{
            width: 45px;
            height: 45px;
            flex-grow: 1;
            line-height: 45px;
            padding-left: 10px;
            font-size: 18px;
        }
        .btns{
            width: 50px;
            height: 45px;
            // background-color: #9b59b6;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }
</style>
